package com.xz.stu.server.service;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import com.xz.stu.server.vo.holiday.*;
import com.xz.stu.server.entity.Holiday;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【school_holiday(节假日表)】的数据库操作Service
* @createDate 2025-02-26 15:34:32
*/
public interface HolidayService extends IService<Holiday> {

    Long createHoliday(HolidayCreateReqVO createReqVO);

    void updateHoliday(HolidayUpdateReqVO updateReqVO);

    void deleteHoliday(List<Long> id);

    HolidayRespVO getHoliday(Long id);

    List<HolidayRespVO> getHolidayList(HolidayListReqVO listReqVO);

    PageResult<HolidayRespVO> getHolidayListPage(HolidayListPageReqVO listReqVO);
}
